package com.kaifamiao.kfm.mapper;

import com.kaifamiao.kfm.entity.SysRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author 10854
* @description 针对表【sys_role(角色信息表)】的数据库操作Mapper
* @createDate 2022-08-21 15:22:32
* @Entity com.kaifamiao.kfm.entity.SysRole
*/
public interface SysRoleMapper extends BaseMapper<SysRole> {


    List<SysRole> selectByUserId(Long userId);

    List<Long> selectRoleIdByUserId(Long userId);
}




